home *** CD-ROM | disk | FTP | other *** search
- unit Info;
-
- (*******************************************************************)
- (* Glyph Viewer - version 1.1 - 01/11/1995 *)
- (* by Stephane BONNELL *)
- (* *)
- (* This program is distributed as freeware. *)
- (* But if you like it, please send me an email or a postcard. *)
- (* EMail: sbonnell@teaser.fr *)
- (* SMail: 24 bvd Arago, 75013 Paris, France *)
- (*******************************************************************)
- (* Info window *)
- (*******************************************************************)
-
- interface
-
- uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
- Buttons, ExtCtrls, Tabs;
-
- type
- TInfoBox = class(TForm)
- OKButton: TBitBtn;
- Bevel: TBevel;
- Notebook: TNotebook;
- TabSet: TTabSet;
- Address: TLabel;
- email: TLabel;
- Comments: TLabel;
- Copyright: TLabel;
- Version: TLabel;
- ProductName: TLabel;
- ProgramIcon: TImage;
- Double: TLabel;
- Right: TLabel;
- HelpIcon: TImage;
- Title: TLabel;
- procedure TabSetChange(Sender: TObject; NewTab: Integer;
- var AllowChange: Boolean);
- procedure FormShow(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- InfoBox: TInfoBox;
-
- implementation
-
- {$R *.DFM}
-
- procedure TInfoBox.TabSetChange(Sender: TObject; NewTab: Integer;
- var AllowChange: Boolean);
- begin
- NoteBook.PageIndex:=NewTab;
- end;
-
- procedure TInfoBox.FormShow(Sender: TObject);
- begin
- NoteBook.PageIndex:=0;
- TabSet.TabIndex:=0;
- end;
-
- end.
-
-